package com.ruoyi.tranShort.mapper;

import java.util.List;
import com.ruoyi.tranShort.domain.ShortScheduling;

/**
 * 排班Mapper接口
 * 
 * @author ruoyi
 * @date 2021-08-14
 */
public interface ShortSchedulingMapper 
{
    /**
     * 查询排班
     * 
     * @param id 排班主键
     * @return 排班
     */
    public ShortScheduling selectShortSchedulingById(Long id);

    /**
     * 查询排班列表
     * 
     * @param shortScheduling 排班
     * @return 排班集合
     */
    public List<ShortScheduling> selectShortSchedulingList(ShortScheduling shortScheduling);

    /**
     * 新增排班
     * 
     * @param shortScheduling 排班
     * @return 结果
     */
    public int insertShortScheduling(ShortScheduling shortScheduling);

    /**
     * 修改排班
     * 
     * @param shortScheduling 排班
     * @return 结果
     */
    public int updateShortScheduling(ShortScheduling shortScheduling);

    /**
     * 删除排班
     * 
     * @param id 排班主键
     * @return 结果
     */
    public int deleteShortSchedulingById(Long id);

    /**
     * 批量删除排班
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteShortSchedulingByIds(Long[] ids);
}
